Voice signal coding system

ABSTRACT

An intermittent analog voice signal is coded which is contained in an analog mixed signal having the intermittent analog voice signal mixed with a background analog noise signal. An analog-to-digital converter receives the analog mixed signal and generates a coded output signal by digitizing the analog mixed signal when a control signal is applied thereto and does not generate a coded output signal when the control signal is not applied thereto. A voice signal detector means receives the analog mixed signal and detects periods during which the analog voice signal is present in the analog mixed signal. A control signal generator generates the control signal applied to the analog-to-digital converter during voice periods detected by the voice signal detector during which the analog voice signal is present in the analog mixed signal. The analog mixed signal is thus digitized by the analog-to-digital converter only during the voice periods detected by the voice signal detector.

This application is a Rule 62 continuation of now abandoned application, Ser. No. 08/160,813, filed Dec. 3, 1993, which is a Rule 60 continuation of 07/706/575, filed May 28, 1991 U.S. Pat. No. 5,293,450.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a voice signal coding system adapted to encode noise-mixed voice signals.

2. Description of the Related Art

For transmitting voice signals to remote places, the voice signals are coded. According to the conventional coding method, the voice signals are coded together with background noise signals.

However, in such a coding method, since the data which is really necessary is the voice data, the coding of the background noise signal is of waist.

SUMMARY OF THE INVENTION

Accordingly, an essential object of the present invention is to provide a voice signal coding system which can solve the foregoing problem involved in conventional systems and is adapted to code only the voice signals. The noise signals may be coded separately, if necessary.

In accomplishing these and other objects, a wanted signal coding system according to the present invention, comprises: a wanted signal detection means for receiving a mixed signal of wanted signal and background noise signal and for detecting the presence and absence of said wanted signal contained in said mixed signal; a wanted signal period said wanted signal is present; a coding period control means for producing a coding period control signal during the wanted signal period; and a coding means for encoding said mixed signal in response to said coding period control signal, whereby only the wanted signals are coded in said coding means.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other objects and features for the present invention will become apparent from the following description taken in conjunction with the preferred embodiment thereof with reference to the accompanying drawings, in which:

FIG. 1 is block diagram of a voice signal coding system according to a first embodiment of the present invention;

FIG. 2 is a block diagram of a voice signal coding system according to a second embodiment of the present invention;

FIG. 3 is a graph showing an operation of the present invention;

FIGS. 4a and 4b are graphs for explaining the cepstrum analysis used in the present invention;

FIG. 5 is a block diagram showing a third embodiment of the voice-noise separator of the invention;

FIG. 6 is a block diagram of a voice signal coding system according to a fourth embodiment of the present invention;

FIG. 7 is a block diagram of a voice signal coding system according to a fifth embodiment of the present invention;

FIG. 8 is a block diagram of a voice signal coding system according to a sixth embodiment of the present invention;

FIG. 9 is graph for explaining a noise prediction method used in the present invention; and

FIGS. 10a, 10b, 10c, 10d, and 10e are graphs for explaining a canceling method used in the present invention.

DETAILED DESCRIPTION OF THE INVENTION

Before the description of the present invention proceeds, it is to be noted that like parts are designated by like reference numerals throughout the accompanying drawings.

Referring to FIG. 1, a block diagram of a voice signal coding system according to a first embodiment of the present invention is shown.

In FIG. 1, a band dividing circuit 1 is provided for A/D conversion and for dividing the A/D converted input voice signal accompanying noise signal (noise mixed voice input signal) into a plurality (m) of frequency ranges by way of Fourier transformation at a predetermined sampling cycle. The divided signals are transmitted through m-channel parallel lines. The noise signal is present continuously as in the white noise signal, and the voice signal appears intermittently. Instead of the voice signal, any other data signal may be used.

A voice signal detection circuit 7 receives the noise mixed voice input signal and detects the voice signal portion within the background noise signal and produces a signal indicative of an absence\presence of the voice signal. For example, as shown in FIG. 1, voice signal detection circuit 7 includes a cepstrum analyzing circuit 2 which detects portions wherein the voice signal is present by employing cepstrum analysis, and a peak detection circuit 3 for detecting he peak of the cepstrum obtained by cepstrum analysis circuit 2. FIGS. 4a and 4b show spectrum analysis and cepstrum analysis to obtain the peak (i.e., pitch).

In the above arrangement, it is also possible to provide an average calculation circuit (not shown) to calculate the average of the cepstrum obtained by the cepstrum analysis circuit 2, and a voice discrimination circuit (not shown) to discriminate voice portions using the peak of the cepstrum fed by the peak detection circuit 3 and the average value of the cepstrum fed by the average calculation circuit. This arrangement allows discrimination between vowels and consonants, making it possible to accurately discriminate the voice portions. More specifically, when there is a signal input from the peak detection circuit 3 indicating that a peak has been detected, a vowel portion of the voice signal is detected. For discrimination of consonants, on the other hand, when a cepstrum average value fed from the average calculation circuit is greater than a predetermined specified value, or when the increment of the cepstrum average (differential coefficient) is greater than a predetermined specified value, that a consonant portion of the voice signal is detected. Then the resulting output either a vowel/consonant representing signal, or one that represents a voice interval including vowels and consonants. The voice detection circuit 7 is not limited to the one in this embodiment, and may be substituted by another method.

A voice period detector 4 serves to discriminate a voice period, for example, the start time and end time of a voice signal in accordance with a voice signal portion detected by the voice detection circuit 7.

A coding period control circuit 5 serves to produce a control signal for during a voice period.

A coding circuit 6 encodes a voice signal in accordance with the control signal from the coding period control circuit 5. The coding circuit 6 is selected depending on the circuit that is connected in the following stage. For example, the coding circuit may be of a type that includes the method of linear conversion using an analog-to-digital converter or the μ-law coding that involves logarithmic compression.

The operation of the above described embodiment of the present invention is explained in connection with FIG. 3.

In FIG. 3, row (a), a noise-mixed voice signal is shown, in which the high-level portions (such as t₁ -t₂, t_(3-t) ₄) are the voice portions, and the low-level portions (such as t₀ -t₁, t₂ -t₃, t₄ -t₅) are the noise portions.

The band dividing circuit 1 receives the noise-mixed voice signal (row (a)). The cepstrum analysis circuit 2 effects cepstrum analysis with respect to the signal from the band dividing circuit 1. The peak detection circuit 3 detects the peak of the cepstrum analysis result. The voice period detector 4 discriminates a voice period in accordance with the result of peak detection. In FIG. 3, row (b), blocks A, B and C represent the voice signal periods during which the coding is executed and the intervening periods p, q and r are skip periods during which the coding is not executed. Then the coding period control circuit 5 produces a control signal in accordance with the voice signal period information.

The coding circuit 6 encodes only the voice signal periods A, B and C in the example shown in FIG. 3 in accordance with the control signal. As a result, the noise signal periods are compressed, as shown in FIG. 3, row (c), in which the coded voice signals, each accompanying start and end codes, are connected without any interval.

Referring to FIG. 2, a second embodiment of the present invention is shown. When compared with the first embodiment shown in FIG. 1, the second embodiment is further provided with a noise period detector 8 and a coding-compression control circuit 9.

The noise period detector 8 discriminates a noise period in accordance with voice period information discriminated by the voice period detector 4. The coding-compression control circuit 9 calculates the length of a noise period based on the discriminated noise period information and further encodes the data indicating the noise signal period. The noise period length may be calculated in the noise period detector 8, while the coding of the data indicating the noise period may be carried out in the coding-compression control circuit 9.

The coding circuit 6 according to the second embodiment encodes the voice signal depending on a control signal from the coding period control circuit 5 and, inserts the coded noise period data from the coding-compression control circuit 9. The coded noise period data may be inserted at any possible portion.

Referring to FIG. 5, a block diagram of a third embodiment of the present invention is shown.

In the first embodiment, the voice/noise signal is coded by the coding circuit as it is, but in the present third embodiment, the voice/noise signal that has passed through the band divider circuit 1, at which the signal is divided into m channels, and also through the combining circuit 5, at which the divided signals are combined or synthesized, is coded. Furthermore, in the third embodiment, noise prediction circuit 11 and cancellation circuit 12 are provided so that the noise signal existing in the voice/noise signal is eliminated. The detail of the noise signal prediction is disclosed in our U.S. application Ser. No.07/706,572, entitled "NOISE SIGNAL PREDICTION SYSTEM", filed on the same day as the present application.

A noise prediction circuit 11 include a noise level detector for detecting the level of the actual noise signal at every sampling cycle but only during the absence of the voice signal, a storing circuit for storing noise levels obtained during predetermined number of sampling cycles before the present sampling cycle, and a noise level predictor for predicting the noise level of the next sampling cycle based on the stored noise signals. The prediction of the noise signal level of the next sampling cycle is carried out by evaluating the stored noise signals, for example by taking an average of the stored noise signals. In this case, the predictor is an averaging circuit.

The noise prediction circuit 11 receives the noise mixed voice input signal that has been transformed to Fourier series, as shown in FIG. 9, in which the X-axis represents frequency, the Y-axis represents noise level and the Z-axis represents time. Noise signal data pl-pi during the predetermined past time is collected in the noise prediction circuit 11, and is evaluated, such as taking an average of pl-pi, to predict a noise signal data pj in the next sampling cycle. Preferably, such a noise signal prediction is carried out for each of the m-channels of the divided bands.

Thus in the noise prediction circuit 11, during an absence of the voice signal as detected by the signal detector 7, the noise signal level of the next sampling cycle is predicted using the stored noise signals. The predicted noise signal level is sent to a cancellation circuit 12. After that, the predicted noise signal is replaced with the actually detected noise signal and is stored in the storing circuit. Thus, during the absence of the voice signal, the storing circuit stores actually detected noise signal at every sampling cycle, and the prediction is effected in the predictor according to the actually detected noise signal.

On the other hand, during a presence of the voice signal as detected by signal detector 7, the noise signal level of the next sampling cycle is predicted in the same manner as described above, and is sent to the cancellation circuit 12. After that, since there is no actually detected noise signal at this moment, the predicted noise signal is stored in the storing circuit together with other noise signals obtained previously. Thus, during the presence of the voice signal, the actual noise signals of the past data as stored in the storing circuit are sequentially replaced by the predicted noise signals.

The cancellation circuit 12 is provided to cancel the noise signal in the voice signal by subtracting the predicted noise signal from the Fourier transformed noise mixed voice input signal, and is formed, for example, by a subtractor.

A combining circuit 13 is provided after the cancellation circuit 12 for combining or synthesizing the m-channel signals to produce a voice signal with the noise signals being canceled not only during the voice signal absent periods, but also during the periods at which the voice signal is present. The combining circuit 13 is formed, or example by an inverse Fourier transformation circuit and a D/A converter.

In FIG. 5, signal s1 is a noise mixed voice input signal (FIG. 9a) and signal s2 is a signal obtained by Fourier transforming of the input signal (FIG. 9b). Signal s3 is a predicted noise signal (FIG. 9c) and signal s4 is a signal obtained b canceling the noise signal (FIG. 9d).

It is to be noted that in FIG. 5, only one signal s2 is shown for the sake of brevity, but actually there are m signals s2 for m-channels, respectively. Similarly, there are m signals s3 and m signals s4.

Signal s5 is a signal obtained by inverse Fourier transforming noise canceled signal (FIG. 9e).

The operation of the third embodiment of the present invention shown in FIG. 5 is described below.

A noise-mixed voice signal is divided into a plurality of channels by the band dividing circuit 1, and the divided signals are applied to voice detection circuit 7 and also to the noise prediction circuit 11. The voice detection circuit 7 performs cepstrum analysis, as described above, and further detects the peak in accordance with the cepstrum analysis result.

The noise prediction circuit 11 predicts the noise signal level of voice portions in each channel. The cancellation circuit 12 eliminates the noise signal in each channel using the predicted noise.

The combining circuit 13 combines the noiseless voice signal in the plurality of channels.

The coding circuit 6 encodes the combined signal only during the presence of the voice signal in accordance with a coding period control signal.

Referring to FIG. 6, a fourth embodiment of the present invention is shown. When compared with the third embodiment shown in FIG. 5, there are additionally provided noise a period detector 19 and coding-compression control circuit 20.

The noise period detector 19 detects a noise period, or an intervening period between the voice signals, based on the voice period information detected by the voice period detector 4. The coding-compression control circuit 20 calculates the length of the noise period from the detected noise period information and encodes the data representing the length of the noise period. The noise period length may be calculated in the noise period detector 19, while the coding of the data indicating the noise period may be carried out in the coding-compression control circuit 20.

The coding circuit 6 according to the fourth embodiment encodes the voice signal in accordance with a control signal from the coding period control circuit 5 and, inserts the coded noise period data from the coding-compression control circuit 20. The coded noise period data may be inserted at any possible portion.

FIG. 7 shows a fifth embodiment of the invention. When compared with the third embodiment the FIG. 5, in fifth embodiment further has circuit 31, 32, 33, and 34, whereby not the noise signals are coded separately from the voice signal.

The noise period detector 31 detects a noise period based on the voice information detected by the voice detection circuit 7.

The noise cutout circuit 32 cuts the noise signal from the above-mentioned divided signal in accordance with the resulting noise period information to extract only the noise signal.

The noise signal joining circuit 33 performs a switching operation that connects the extracted noise signal and the predicted noise signal predicted by the noise prediction circuit 11 to produce a continuing noise signal.

The noise signal coding 34 is circuit for encoding the continuing noise signal. The present embodiment allows the coding of a continuing noise signal separately from the coded voice signals. For instance, if the voice is a singing voice and the noise signal is orchestral music played as background, then the singing voice and the background orchestral music can be separated from each other.

Referring to FIG. 8, a sixth embodiment of the present invention is shown. When compared with the fifth embodiment shown in FIG. 7, a coding-compression control circuit 40 is further provided after the coding period control circuit 5 for receiving a coding control signal of the voice and producing noise-compression control information. This enables the coding circuit 6 to add the length of the original noise period as information when it compresses the noise periods.

In any of the foregoing embodiments, it is possible to assemble the system by way of hardware or by way of software employing a computer to do the function of various circuits.

As apparent from the above description, since the voice coding system according to the present invention is adapted to encode only voice portions out of a noise-mixed voice signal and, in turn, compresses noise portions thereof, it is possible to obviate the wastefull processing of encoding noise signals. Thus, the data transmission rate can improved.

Furthermore, the voice coding system of the present invention can cancel noise signals effectively by predicting the noise signal in the voice signal portions.

Still further, according to the present invention it is possible to obtain noise signals in coded form separately from the coded voice signals.

Although the present invention has been fully described by way of example with reference to the accompanying drawings, it is to be noted here that various changes and modifications will be apparent to those skilled in the art. Therefore, unless otherwise such changes and modifications depart from the scope of the present invention as defined by the appended claims, they should be construed as included therein. 

What is claimed is:
 1. A voice signal coding system for coding an intermittent analog voice signal contained in an analog mixed signal having the intermittent analog voice signal mixed with a background analog noise signal, said system comprising:a coding circuit, receiving said analog mixed signal, which is operative to generate a coded output signal which is time compressed relative to said analog mixed signal by digitizing said analog mixed signal only during each time a control signal is applied thereto to obtain a corresponding series of coded output segments, and by outputting the series of coded output segments without time intervals therebetween as said coded output signal; voice signal detecting means, receiving said analog mixed signal, for detecting periods during which said analog voice signal is present in said analog mixed signal; and coding period control means, coupled to said voice signal detecting means, for generating said control signal applied to said coding circuit during voice periods detected by said voice signal detecting means during which said analog voice signal is present in said analog mixed signal, wherein said analog mixed signal is digitized by said coding circuit converter to obtain said coded output segments only during the voice periods detected by said voice signal detecting means.
 2. A voice signal coding system as claimed in claim 1, further comprising:noise signal detecting means, coupled to said voice signal detecting means, for detecting noise signal periods during which said analog voice signal is not present in said analog mixed signal; and, coding-compression control means, coupled to said noise signal detecting means, for determining a duration of each noise signal period detected by said noise signal detecting means and for generating coded noise period data denoting the duration of each detected noise signal period; wherein said coding circuit includes means for inserting said coded noise period data in said coded output segments of said coded output signal.
 3. A voice signal coding system as claimed in claim 1, wherein said voice signal detecting means comprises:(a) band dividing means for digitizing the analog mixed signal and for dividing the thus digitized mixed signal into a plurality of digital signals of different frequency ranges and for supplying said plurality of digital signals through a plurality of respective channels; (b) cepstrum analysis means for cepstrum-analyzing the digital signal of each channel supplied from said band dividing means; and, (c) peak detecting means for detecting peaks of a cepstrum analysis output from said cepstrum analysis means so as to discriminate voice portions within said analog mixed signal, wherein each detected voice portion is indicative of the presence of said analog voice signal in said analog mixed signal and wherein said control signal generating means generates said control signal only during detection of each voice portion.
 4. A voice signal coding system as claimed in claim 1, wherein said voice signal detecting means comprises:(a) band dividing means for digitizing the analog mixed signal and for dividing the thus digitized mixed signal into a plurality of digital signals of different frequency ranges and for supplying said plurality of digital signals through a plurality of respective channels; (b) cepstrum analysis means for cepstrum-analyzing the digital signal of each channel supplied from said band dividing means; and, (c) detecting means for detecting peaks and a peak average of a cepstrum analysis output from said cepstrum analysis means so as to discriminate vowel and consonant portions within said analog mixed signal, wherein each detected vowel and consonant portion is indicative of the presence of said analog voice signal in said analog mixed signal and wherein said control signal generating means generates said control signal only during detection of each vowel and consonant portion.
 5. A voice signal coding system for coding an intermittent analog voice signal contained in an analog mixed signal having the intermittent analog voice signal mixed with a background analog noise signal, said system comprising:band dividing means for digitizing the analog mixed signal and for dividing the thus digitized mixed signal into a plurality of digital signals of different frequency ranges and for supplying said plurality of digital signals through a plurality of respective channels; a coding circuit, receiving a noise cancelled analog signal, which is operative to generate a coded output signal which is time compressed relative to said noise cancelled analog signal by digitizing said noise cancelled analog signal only during each time a control signal is applied thereto to obtain a corresponding series of coded output segments, and by outputting the series of coded output segments without time intervals therebetween as said coded output signal; voice signal detecting means, receiving said plurality of digital signals through said plurality of respective channels, for detecting periods during which said analog voice signal is present in said analog mixed signal; coding period control means, coupled to said voice signal detecting means, for generating said control signal applied to said coding circuit during voice periods detected by said voice signal detecting means during which said analog voice signal is present in said analog mixed signal, wherein said noise cancelled analog signal is digitized by said coding circuit to obtain said coded output segments only during the voice periods detected by said voice signal detecting means; noise prediction means, receiving said plurality of digital signals through said plurality of respective channels, for predicting a noise signal contained in said analog mixed signal during periods in which said analog voice signal is present in said analog mixed signal based on a previous noise signal; cancellation means for subtracting the predicted noise signal from said plurality of digital signals of said respective channels to obtain noise cancelled digital signals of said respective channels; and combining means for combining and digital-to-analog converting said noise cancelled digital signals to obtain said noise cancelled analog signal received by said coding circuit.
 6. A voice signal coding system as claimed in claim 5, wherein said voice signal detecting means comprises:(a) cepstrum analysis means for cepstrum-analyzing the digital signal of each channel supplied from said band dividing means; and, (b) peak detecting means for detecting peaks of a cepstrum analysis output from said cepstrum analysis means so as to discriminate voice portions within said analog mixed signal, wherein each detected voice portion is indicative of the presence of said analog voice signal in said analog mixed signal and wherein said control signal generating means generates said control signal only during detection of each voice portion.
 7. A voice signal coding system as claimed in claim 6, further comprising:noise signal detecting means, coupled to said voice signal detecting means, for detecting noise signal periods during which said analog voice signal is not present in said analog mixed signal; and, coding-compression control means, coupled to said noise signal detecting means, for determining a duration of each noise signal period detected by said noise signal detecting means and for generating coded noise period data denoting the duration of each detected noise signal period; wherein said coding circuit includes means for inserting said coded noise period data in said coded output signal.
 8. A voice signal coding system as claimed in claim 5, wherein said voice signal detecting means comprises:(a) cepstrum analysis means for cepstrum-analyzing the digital signal of each channel supplied from said band dividing means; and, (b) detecting means for detecting peaks and a peak average of a cepstrum analysis output from said cepstrum analysis means so as to discriminate vowel and consonant portions within said analog mixed signal, wherein each detected vowel and consonant portion is indicative of the presence of said analog voice signal in said analog mixed signal and wherein said control signal generating means generates said control signal only during detection of each vowel and consonant portion.
 9. A voice signal coding system as claimed in claim 8, further comprising:noise signal detecting means, coupled to said voice signal detecting means, for detecting noise signal periods during which said analog voice signal is not present in said analog mixed signal; and, coding-compression control means, coupled to said noise signal detecting means, for determining a duration of each noise signal period detected by said noise signal detecting means and for generating coded noise period data denoting the duration of each detected noise signal period; wherein said coding circuit includes means for inserting said coded noise period data in said coded output signal.
 10. A voice signal coding system as claimed in claim 5, further comprising:noise signal detecting means, coupled to said voice signal detecting means, for detecting noise signal periods during which said analog voice signal is not present in said analog mixed signal; and, coding-compression control means, coupled to said noise signal detecting means, for determining a duration of each noise signal period detected by said noise signal detecting means and for generating coded noise period data denoting the duration of each detected noise signal period; wherein said coding circuit includes means for inserting said coded noise period data in said coded output signal. 